import request from "@/utils/request";

export function getConfigs() {
  return request({
    url: `/notice/getConfigs`,
    method: 'get',
  });
}

export function getBindWechatUser(params) {
  return request({
    url: `/notice/getBindWechatUser`,
    method: 'get',
    params,
  });
}

export function unbind(wechatUserId) {
return request({
    url: `/notice/unbind/${wechatUserId}`,
    method: 'post',
  });
}
